package com.zbkj.common.request;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * 商品表基本信息扩展表
 * +----------------------------------------------------------------------
 * | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
 * +----------------------------------------------------------------------
 * | Author: CRMEB Team <admin@crmeb.com>
 * +----------------------------------------------------------------------
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_store_product_ext")
@ApiModel(value="StoreProductExtAddRequest对象", description="商品表基本信息扩展表")
public class StoreProductExtAddRequest implements Serializable {

    private static final long serialVersionUID=1L;

    public StoreProductExtAddRequest() {
    }

    @ApiModelProperty(value = "商品id|新增时不填，修改时必填")
    private Integer id;

    @ApiModelProperty(value = "卖点")
    @Length(max = 20, message = "卖点不能超过20个字符")
    private String sellingPoint;

    @ApiModelProperty(value = "内部备注")
    @Length(max = 20, message = "内部备注不能超过20个字符")
    private String internalComment;

}
